eFAWATEERcom Bank Prc icon

eFAWATEERcom Bank Prc

(0 reviews)

Postpaid Payment Account

URLs :

Description : This service allows the channel or Bank itself to initiate a Postpaid payment before payment to eFAWATEERcom through Bank Account.

The Bill Payment service for postpaid through account permits Bank and channels to create new postpaid payment record in eFAWATEERcom. The service is intended to involve a set of validations on the received payment, if the validation process is successful,eFAWATEERcom will generate a payment transaction number ‘JOEBPPSTrx’ and return it in the response message to the Bank/PSP. Bank/PSP should get the latest bill details first by sending bill inquiry request.

Mulesoft Request:

Mandatory Headers: x-channel-id,x-client-trace-id, x-bank-id,client_id, client_secret

Optional Headers: x-sub-channel-id, x-user-id, Authorization, x-debug-flag, x-customer-id

Request Body: application/json

Field NameTypeLengthOccurrenceDescription
postpaidAccountTransactionsObjectM
trxInfArrayMRepeatable
acctInfoObjectM
billingNoString50MRepresents the unique identifier of subscription in a specific service provided by the biller. Field returned from bill inquiry
billNoString50Mbill no, Field returned from bill inquiry
billerCodeInteger3MRepresents the unique code of the Biller Field returned from bill inquiry
End of acctInfo
inqRefNoInteger20MRepresents the Inquiry Reference Number which connect the bill inquiry with the corresponding bill payment transaction. Field returned from bill inquiry
bankTrxIDString50MUnique transaction number which is generated for banks collecting payments
pmtStatusString15MRepresents the status of the collected payment Hardcode to "PmtNew"
dueAmtDecimal12,3Mthe due amount of the uploaded bill
paidAmtDecimal12,3MRepresents the collected payment amount
processDateDateTimeMRepresents the payment transaction date
accessChannelString15MRepresents the payment channel type that used to collect payments
paymentMethodString15MRepresents the method of the payment via Bank/PSP Should not be CCARD CASH, EFT, ACTDEB
paymentTypeString only "Postpaid"15ORepresents the method of the payment via Bank/PSP Hardcode to "Postpaid"
currencyString5ORepresents the type of the used currency in payment process
serviceTypeDetails
serviceTypeString25MRepresents the service type of the biller
End of serviceTypeDetails
payerInfoObjectM
idTypestring3CRepresents a unique identifier type (The official number used to identify a customer)
idstring20CThe identification of the customer based on the chosen value from the IdType field
nationchar2CEnum: JO - Jordanian IQ - Iraq GB - British KW - Kuwait
namestring20O
phonestring20O
addressstring100O
emailstring100O
joebppsNoInteger10CRepresents the unique identifier of the customer profile in eFAWATEERcom
End of 'payerInfo'
End of 'trxInf'
End of 'postpaidAccountTransactions' container
{
"postpaidAccountTransactions": {
"trxInf": [
{
"acctInfo": {
"billingNo": "1325646",
"billNo": "1325646",
"billerCode": 3
},
"inqRefNo": 883483,
"bankTrxID": "RAJ32165489",
"pmtStatus": "PmtNew",
"dueAmt": 10,
"paidAmt": 10,
"processDate": "2013-12-25T12:53:00",
"accessChannel": "DirectPay",
"paymentMethod": "ACTDEB",
"serviceTypeDetails": {
"serviceType": "FixedLine"
},
"payerInfo": {
"name": "Name",
"joebppsNo": 45645
}
}
]
}
}

Mulesoft Response:

Success Response: (200)

Response Body: application/json

Field NameTypeLengthOccurrenceDescriptionValidations
statusObjectM
successBooleanMtrue false
codeString10MError Code“0” incase of success or Error Code
reasonCodeString50OError Type or Error categoryAdd this tag only incase of error
arabicMessageString200MEnglish message translated to Arabicتمت العملية بنجاح in case of success or arabic translated error in case of known errors
englishMessageString200MDescription about the processing“The Operation has been Successfully Completed” Or error Description
End of status
responseObjectOExists if success = true
postpaidAccountTransactionsObjectO
trxInfArrayMRepeatable
acctInfoObjectM
billingNoString50MRepresents the unique identifier of subscription in a specific service provided by the biller.
billNoString50Mbill no.
billerCodeInteger3MRepresents the unique code of the Biller
End of acctInfo
bankTrxIDString50MUnique transaction number which is generated for banks collecting payments
pmtStatusString15MRepresents the status of the collected payment
dueAmtDecimal12,3Mthe due amount of the uploaded bill
paidAmtDecimal12,3MRepresents the collected payment amount
processDateDateTimeMRepresents the payment transaction date
stmtDateDate15CThe generated date by eFAWATEERcom which represent when the payment will be settled
joebppsTrxInteger15CRepresents the eFAWATEERcom transaction number that used as a unique reference number between all Participants and eFAWATEERcom for each single succeeded payment
resultObjectO
errorCodestring3M
errorDescstring100M
severityEnum, string7MEnum: Error, Info"
End result
End trxInf
End of 'postpaidAccountTransactions' container
End of ‘ response ‘
{
"status": {
"success": true,
"code": "200",
"arabicMessage": "تمت العملية بنجاح",
"englishMessage": "The Operation has been Successfully Completed"
},
"response": {
"postpaidAccountTransactions": {
"trxInf": [
{
"acctInfo": {
"billingNo": "1325646",
"billNo": "1325646",
"billerCode": 3
},
"bankTrxID": "RAJ32165489",
"pmtStatus": "PmtNew",
"dueAmt": 10,
"paidAmt": 10,
"processDate": "2013-12-25T12:53:00",
"stmtDate": " 2013-12-25",
"joebppsTrx": 150945657,
"result": {
"errorCode": "0",
"errorDesc": "Success",
"severity": "Info"
}
}
]
}
}
}

Sample Error Response:

Error codes :

400:

content-type: JSON

{
"success": false,
"code": "400",
"reasonCode": "Bad Request",
"arabicMessage": "اقتراح غير جي",
"englishMessage": "paymentMethod is invalid"
}

Reviews